<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>资讯-{$site_name}</title>

    <link rel="stylesheet" href="__PUBLIC__/css/style.css">
    <link rel="stylesheet" href="__PUBLIC__/css/global.css">
    <link rel="stylesheet" href="__PUBLIC__/css/index_style.css">
    <link rel="stylesheet" href="__PUBLIC__/css/index2.css">
    <link rel="stylesheet" href="__PUBLIC__/css/common.css" />
    <script src="__PUBLIC__/js/jquery.min.js"></script>
    <script src="__PUBLIC__/js/index.js"></script>
</head>

<body>
<header>
    <div style="max-width:100%;min-width: 1000px; height: 475px; background: url(__PUBLIC__/img/head_zx.jpg) no-repeat center; background-size: cover;">

        <div style=" width: 1000px; height: 50px; margin: 0 auto;">

            <include file="Public:head_search" />
        </div>
        <div style="background: url(__PUBLIC__/img/1_02.jpg) no-repeat;">
            <div style=" width: 1000px; margin: 0 auto; background: url(__PUBLIC__/img/1_03.jpg) no-repeat;">
                <img style="margin-left: 36px;" src="__PUBLIC__/img/1_07.jpg" />
                <include file="Public:nav" />
            </div>
        </div>
    </div>
</header><!-- news_list-新闻列表
 -->
<div class="content" style="background:#FFFFFF url(__PUBLIC__/img/indexbg_02.jpg) no-repeat center;background-position: -8px 0px;max-width:100%;min-width: 1000px;">

    <div id="borderColor" style="margin: 0 auto; width: 1000px; height: auto;background:#FFFFFF;top: -10px;position: relative;">

        <div class="fl box-shadow-2" style="border-top: 10px #db261f solid; width: 225px;">
            <div style="text-align: center; padding-top: 30px; padding-bottom: 10px;">
                <img src="__PUBLIC__/img/1_24.jpg" />
            </div>

            <div class="menu_left">

                <ul style="background: url(img/WH_07.jpg) no-repeat 0 0; padding-top: 20px;">
                    <li <php>if($_GET['cid']==1) echo'class="show"';</php>>
                        <a href="/news/cid/1">新闻动态</a>
                    </li>
                    <li <php>if($_GET['cid']==2) echo'class="show"';</php>>
                        <a href="/news/cid/2">企业新闻</a>
                    </li>
                    <li <php>if($_GET['cid']==3) echo'class="show"';</php>>
                        <a href="/news/cid/3">媒体关注</a>
                    </li>
                </ul>

            </div>
            <div style="clear: both;"></div>
            <div style="text-align: center; padding-top: 45px;background: url(__PUBLIC__/img/WH_07.jpg) no-repeat 0 0;">
                <img src="__PUBLIC__/img/W_03-01.jpg" />
            </div>

        </div>
        <div class="fr" style="border-top: 10px #b59e58 solid; width: 775px;">
            <div style="width: 722px;margin: 0 auto;margin-top: 42px;">
                <h3 style="font-size: 21px;font-weight: 500;line-height: 29px;">资讯中心</h3>
                <img src="__PUBLIC__/img/WG_03.jpg" />
            </div>

            <div class="news" style="width: 722px;margin: 0 auto;">
                            <?php if(empty($list)){?>
                  当前列表记录为空
                <?php }?>
                <div class="list">
                    <foreach  name="list" item="vo" key="k">
                        <div class="listitem">
                            <div class="img">
                                <!--<img src="__PUBLIC__/img/nemo.jpg" alt=""></div>-->
                                <a href="/news_content?id={$vo.id}"><if condition="$vo.large_thumb neq ''"><div style="display:table;width: 150px; height: 100px;text-align: center"><p style="display: table-cell; vertical-align: middle; "><img src="{$vo.large_thumb}" alt=""></p></div>
                                <else/><img src="__PUBLIC__/img/nemo.jpg" alt="">
                            </if></a>
                            </div>
                            <div class="title">
                                <h1><a href="/news_content?id={$vo.id}"><if condition="$k lt 3 and $page eq 1"><img src="__PUBLIC__/img/new.png" /></if>{$vo.title|msubstr=0,20,'utf-8',false}</a></h1></div>
                            <div class="description">{$vo.content|msubstr=0,50,'utf-8',false}</div>
                            <div class="time">发布时间:{$vo.newsdt|substr=0,10}</div>
                        </div>
                    </foreach>
                </div>

                <div style="clear: both;"></div>
                <div class="pager">
                    <if condition="$count neq 0">
                        <a href="__URL__news/cid/{$cid}?page=1">首页</a>
                    </if>
                    <if condition="$page gt 1 and $count neq 0">
                        <a href="__URL__news/cid/{$cid}?page={$page-1}">上一页</a>
                    </if>

                    <!-- 12345..6-->
                    <if condition="$count gt 5 and $count-$page gt 2 and $count-$page gt 0 and $page elt 3">

                        <for name="value" start="1" end="6">
                            <if condition="$value eq $page">
                                <a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__news/cid/{$cid}?page={$value}">{$value}</a>
                            </if>
                        </for>

                        <span style="margin: 0 10px;">...</span>
                        <a href="__URL__news/cid/{$cid}?page={$count}">{$count}</a>
                    </if>

                    <!-- 1...12345...6-->
                    <if condition="$page-2 gt 1 and $page+2 lt $count">

                        <a href="__URL__news/cid/{$cid}?page=1">1</a>
                        <span style="margin: 0 10px;">...</span>

                        <for name="value" start="$page-2" end="$page+3">
                            <if condition="$value eq $page">
                                <a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__news/cid/{$cid}?page={$value}">{$value}</a>
                            </if>
                        </for>

                        <span style="margin: 0 10px;">...</span>
                        <a href="__URL__news/cid/{$cid}?page={$count}">{$count}</a>

                    </if>

                    <!--1...123-->
                    <if condition="$count gt 5 and $count-$page elt 2">
                        <a href="__URL__news/cid/{$cid}?page=1">1</a>
                        <span style="margin: 0 10px;">...</span>

                        <for name="value" start="$count-4" end="$count+1">
                            <if condition="$value eq $page">
                                <a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__news/cid/{$cid}?page={$value}">{$value}</a>
                            </if>
                        </for>
                    </if>

                    <!--123-->
                    <if condition="$count elt 5">
                        <for name="value" start="1" end="$count+1">
                            <if condition="$value eq $page">
                                <a href="javascript:void(0)" style="border: 1px #E54141 solid;cursor: default;" class="index">{$value}</a>
                            </if>
                            <if condition="$value neq $page">
                                <a href="__URL__news/cid/{$cid}?page={$value}">{$value}</a>
                            </if>
                        </for>
                    </if>

                    <if condition="$page lt $count and $count neq 0">
                        <a href="__URL__news/cid/{$cid}?page={$page+1}">下一页</a>
                    </if>
                    <if condition="$count neq 0">
                        <a href="__URL__news/cid/{$cid}?page={$count}">末页</a>
                    </if>
                </div>
                
            </div>
          
        </div>
        <div style="clear: both;">&nbsp;</div>
    </div>

</div>


<!-- /news_list-新闻列表
 -->
<include file="Public:footer" />
</body>
</html>